package club.haomoon.core.entity.log;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;
/**
 * -------------------------
 * @Description:系统登录日志实体
 * @Author: Wangjianwei
 * @Date: 2025/02/10 17:49
 * -------------------------
 */
@Data
@Schema(title = "系统登录日志实体")
public class SystemLogLoginData implements Serializable {

    @TableId(value="id", type= IdType.AUTO)
   @Schema(title = "ID")
    private Integer id;

   @Schema(title = "管理员ID")
    private Integer adminId;

   @Schema(title = "登录账号")
    private String username;

   @Schema(title = "登录IP")
    private String ip;

   @Schema(title = "操作系统")
    private String os;

   @Schema(title = "浏览器")
    private String browser;

   @Schema(title = "操作状态: [1=成功, 2=失败]")
    private Integer status;

   @Schema(title = "创建时间")
    private Long createTime;
}
